* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f5f5f5;
    padding: 20px;
}

.container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.cart-header {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.cart-header h1 {
    font-size: 24px;
    color: #333;
}

.cart-header i {
    margin-right: 10px;
    color: #ff6700;
}

.cart-title {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.cart-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 20px;
    background-color: #f9f9f9;
}

.select-all, .search, .add-product {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 10px;
}

.select-all {
    margin-right: 0;
}

.add-product {
    margin-left: 0;
}

.search-input {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-left: 5px;
    width: 200px;
}

button {
    padding: 6px 12px;
    background-color: #ff6700;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

button:hover {
    background-color: #ff4500;
}

input[type="checkbox"] {
    margin-right: 5px;
}

.flex-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-summary {
    display: flex;
    align-items: center;
    width: 100%;
}

.cart-select-info {
    font-size: 14px;
    color: #666;
    margin-right: auto;
}

.total-price-display {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    font-weight: bold;
    color: #ff6700;
}

.checkout-container {
    margin-left: auto;
}

.checkout {
    padding: 8px 20px;
    background-color: #ff6700;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
    border: none;
    font-size: 16px;
}

.checkout:hover {
    background-color: #ff4500;
}

.checkout i {
    margin-right: 5px;
}

.delete-batches button {
    padding: 6px 12px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.delete-batches button:hover {
    background-color: #e9e9e9;
}

.batch-delete-icon.active {
    display: inline-block !important;
    color: #ff6700;
}

.batch-delete-text.active {
    display: none;
}

.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 500px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    animation: modalopen 0.3s;
}

@keyframes modalopen {
    from {opacity: 0; transform: translateY(-50px)}
    to {opacity: 1; transform: translateY(0)}
}

.modal-header {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.modal-body {
    padding: 20px 0;
    line-height: 1.6;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.btn-confirm {
    padding: 8px 16px;
    background-color: #ff6700;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-cancel {
    padding: 8px 16px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
}

.btn-confirm:hover {
    background-color: #e65c00;
}

.btn-cancel:hover {
    background-color: #e9e9e9;
}

.product {
    display: flex;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 15px;
    position: relative;
}

.prodect-showing {
    position: absolute;
    top: 15px;
    left: 15px;
}

.product-image-container {
    width: 120px;
    height: 120px;
    margin-right: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f9f9f9;
    border-radius: 4px;
    overflow: hidden;
}

.product img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
}

.product-main-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 20px;
    border-right: 1px solid #eee;
}

/* .product-info {
    display: flex;
    width: 100%;
    gap: 20px;
} */

/* .product-datailedInformation {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-name-and-price {
    margin-bottom: 8px;
}

.product-quantity-and-delete {
    display: flex;
    align-items: center;
    gap: 15px;
} */

.product-name {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
}

.product-price {
    color: #ff6700;
    font-weight: bold;
    font-size: 18px;
}

.product-intro-container {
    flex: 1;
    padding: 0 20px;
    display: flex;
    align-items: center;
}

.product-intro {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.product-actions {
    width: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
}

.product-quantity {
    margin-bottom: 15px;
}

.product-quantity input {
    width: 60px;
    padding: 5px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.btn-delete {
    background: none;
    border: none;
    color: #ff6700;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-delete:hover {
    color: #ff6700;
}

.noneProduct {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: #999;
}

.noneProduct i {
    font-size: 48px;
    margin-bottom: 15px;
}

.activity-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #ff6700;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    z-index: 1;
}